package com.example.javatwo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TextContr {
	/**
	 * 主页面跳转,不能在这里写代码
	 * @return
	 * @throws Exception
	 */
	@RequestMapping("/index")
	public String home() throws Exception{
		return "main/index";
	}
}
